Graphics.DrawLine Method

Draws a line from X1, Y1 to X2, Y2 in the current color.

Syntax

Graphics.DrawLine X1, Y1, X2, Y2


Parameters

X1

Integer

Y1

Integer

X2

Integer

Y2

Integer